package com.mxgraph.shape;

import com.mxgraph.canvas.mxGraphics2DCanvas;
import com.mxgraph.util.mxPoint;
import com.mxgraph.view.mxCellState;

/**
 * The interface Mx i marker.
 */
public interface mxIMarker {
    /**
     * Paint marker mx point.
     *
     * @param canvas the canvas
     * @param state  the state
     * @param type   the type
     * @param pe     the pe
     * @param nx     the nx
     * @param ny     the ny
     * @param size   the size
     * @param source the source
     * @return the mx point
     */
    mxPoint paintMarker(mxGraphics2DCanvas canvas, mxCellState state, String type,
                        mxPoint pe, double nx, double ny, double size, boolean source);

}
